package com.hong.demo.other.fsm;

import com.hong.demo.other.fsm.inf.IFSMEvent;
import com.hong.demo.other.fsm.inf.IFSMState;

public class IFSMContext {
    private IFSMState sourceState;
    private IFSMEvent event;
    private IFSMState targetState;

    public IFSMState getSourceState() {
        return sourceState;
    }

    public void setSourceState(IFSMState sourceState) {
        this.sourceState = sourceState;
    }

    public IFSMEvent getEvent() {
        return event;
    }

    public void setEvent(IFSMEvent event) {
        this.event = event;
    }

    public IFSMState getTargetState() {
        return targetState;
    }

    public void setTargetState(IFSMState targetState) {
        this.targetState = targetState;
    }
}
